{$header}
<tagLib name="html" />
<div id="main" class="main" >
<!-- 主体内容  -->
<div class="content" >
<!--  功能组区域  -->
<div class="btn-toolbar">
	<div class="btn-group">
		<?php $ods = C('shippingStatus'); ?>
		<foreach name="ods" item="vo">
	       	<a href="__URL__/index/status/{$key}" class="btn"><i class="icon-th-list"> </i>{$vo}</a>
	    </foreach>
	</div>

	<form class="search-form pull-right" method='get' action="__URL__">
		{:configList(C('foreignlogi'),$_REQUEST['logi_id'],$name='logi_id')}
		<input type="text" class="search-query" name="customer" <notempty name='_REQUEST.customer'>
		<php>echo 'value="'.urldecode($_REQUEST['customer']).'"'</php>
		<else/>
		placeholder="输入客户名"
	</notempty> >
		<input type="text" class="search-query span3" name="keywords" <notempty name='_REQUEST.keywords'>
		<php>echo 'value="'.urldecode($_REQUEST['keywords']).'"'</php>
		<else/>
		placeholder="搜索货物明细"
	</notempty>
	>
	<input type="submit" class="btn btn-primary" value="搜索">
	</form>
	
</div>
<!-- 功能组区域结束 -->
<php>
    function toOd($time){
    echo toDate($time,'Y-m-d');
}
</php>
<!-- 列表显示区域  -->
<div class="list" >
<div id="result" class="result none"></div><html:list id="checkList" pk="id" style="table table-bordered table-striped" name="action" checkbox="true" action="true" datasource="list" show="id:编号|4%:edit,mano:发货单号,real_logifee:实际运费,real_unit_logifee:实际单位运价,rmb_logifee:理论人民币运费,logifee_diff:运费差额,customer_info:客户,weight:毛重,net_weight:净重,logi_id|getConfigVal=Foreignlogi:物流,logi_no:运单号,id|getShippingDetail:货物,remark:要求,user_id|getModelName=User:经办人,status|getConfigVal=shippingStatus:状态,create_time|toDate:发货时间" actionlist="edit:包装详情:id" />
</div>
<!--  分页显示区域 -->
<div class="page">{$page}</div>
<!-- 列表显示区域结束 -->
</div>
<!-- 主体内容结束 -->
</div>
<include file="Public:footer"/>
<script type="text/javascript">
	function toshipping(){
		location.href="__URL__/toshipping";
	}
</script>
